// numType 0 保留两位小数 1 整数 3 无限制

// 对象解析
/*
{
    value: "0", // 数量
    name: "用地面积", // 能耗名称
    unit: "平方米", // 计量单位
    numType: 0, // 数量数据类型
    code: "009",// 代码(唯一识别)
    fields: "landArea",// 对应表单字段
    lastValue:"0", // 上期数据
    loopRatio:"0", // 环比(%)
    lastYearvalue:"0", // 去年同期数据
    togetherRatio:"0", // 同比(%)
    notInput:false,// 不显示输入框
    isChildren:false,// 是否为子项 false： 不是  1：离左20 2：离左40  3： 加其中 离左20 4: 离左 50
}
*/

export const tableData = [
    {
        value: "0",
        name: "机构数量",
        unit: "个",
        numType: 1,
        code: "008",
        fields: "publicOrganizationNum",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "用地面积",
        unit: "平方米",
        numType: 0,
        code: "009",
        fields: "landArea",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "建筑面积",
        unit: "平方米",
        numType: 0,
        code: "101",
        fields: "coveredArea",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "用能人数",
        unit: "人",
        numType: 1,
        code: "102",
        fields: "energyPeopleNum",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "编制人数",
        unit: "人",
        numType: 1,
        code: "1021",
        fields: "organizationPeopleNum",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "车辆数量",
        unit: "辆",
        numType: 1,
        code: "103",
        fields: "carNum",
        lastValue: "0",
        notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "汽油车数量",
        unit: "辆",
        numType: 1,
        code: "1031",
        fields: "carGasolineNum",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 3,
    },
    {
        value: "0",
        name: "柴油车数量",
        unit: "辆",
        numType: 1,
        code: "1032",
        fields: "carDieselNum",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 5,
    },
    {
        value: "0",
        name: "新能源汽车数量",
        unit: "辆",
        numType: 1,
        code: "1033",
        fields: "carNewEnergyNum",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 5,
    },
    {
        value: "0",
        name: "电消费量",
        unit: "千瓦时",
        numType: 0,
        code: "110",
        fields: "energyElectricity",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "111",
        fields: "feeElectricity",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "水消费量",
        unit: "吨",
        numType: 0,
        code: "120",
        fields: "energyWater",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "121",
        fields: "feeWater",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "煤炭消费量",
        unit: "吨",
        numType: 0,
        code: "130",
        fields: "energyCoal",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "131",
        fields: "feeCoal",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "天然气消费量",
        unit: "立方米",
        numType: 0,
        code: "140",
        fields: "energyNaturalGas",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "141",
        fields: "feeNaturalGas",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "再生能源消费量",
        unit: "千卡",
        numType: 0,
        code: "200",
        fields: "salesVolumeOfRenewableEnergy",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "201",
        fields: "renewableEnergyCosts",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "绿电消费量",
        unit: "千瓦时",
        numType: 0,
        code: "210",
        fields: "greenElectricitySalesFeeVolume",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "211",
        fields: "greenElectricityCost",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "碳汇消费量",
        unit: "吨",
        numType: 0,
        code: "220",
        fields: "carbonRemittanceSalesFeeVolume",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "221",
        fields: "carbonSinkFees",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "汽油消费量",
        unit: "升",
        numType: 0,
        code: "150",
        notInput: true,
        fields: "energyGasoline",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        // children: [
        //   {
        //     value: "0",
        //     name: "车辆用油量",
        //     unit: "升",
        //     numType: 0,
        //     code: "1501",
        //     lastValue: "0",     notInput: true,
        //     loopRatio: "0",
        //     lastYearvalue: "0",
        //     togetherRatio: "0",
        //   },
        //   {
        //     value: "0",
        //     name: "其他用油量",
        //     unit: "升",
        //     numType: 0,
        //     code: "1502",
        //     lastValue: "0",     notInput: true,
        //     loopRatio: "0",
        //     lastYearvalue: "0",
        //     togetherRatio: "0",
        //   },
        // ],
    },
    {
        value: "0",
        name: "费用",
        notInput: true,
        unit: "元",
        numType: 0,
        code: "151",
        fields: "feeGasoline",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "车辆用油量",
        unit: "升",
        numType: 0,
        code: "1501",
        fields: "energyCarGasoline",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 3,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "1511",
        fields: "feeCarGasoline",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    {
        value: "0",
        name: "其他用油量",
        unit: "升",
        numType: 0,
        code: "1502",
        fields: "energyOtherGasoline",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 5,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "1512",
        fields: "feeOtherGasoline",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    // {
    //   value: "0",
    //   name: "费用",
    //   unit: "元",
    //   numType: 0,
    //   code: "151",
    //       lastValue: "0",     notInput: true,
    //       loopRatio: "0",
    //       lastYearvalue: "0",
    //       togetherRatio: "0",
    //   children: [
    //     {
    //       value: "0",
    //       name: "费用",
    //       unit: "元",
    //       numType: 0,
    //       code: "1511",
    //       lastValue: "0",     notInput: true,
    //       loopRatio: "0",
    //       lastYearvalue: "0",
    //       togetherRatio: "0",
    //     },
    //     {
    //       value: "0",
    //       name: "费用",
    //       unit: "元",
    //       numType: 0,
    //       code: "1512",
    //       lastValue: "0",     notInput: true,
    //       loopRatio: "0",
    //       lastYearvalue: "0",
    //       togetherRatio: "0",
    //     },
    //   ],
    // },
    {
        value: "0",
        name: "柴油消费量",
        unit: "升",
        numType: 0,
        code: "160",
        notInput: true,
        fields: "energyDiesel",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        // children: [
        //   {
        //     value: "0",
        //     name: "车辆用油量",
        //     unit: "升",
        //     numType: 0,
        //     code: "1601",
        //     lastValue: "0",     notInput: true,
        //     loopRatio: "0",
        //     lastYearvalue: "0",
        //     togetherRatio: "0",
        //   },
        //   {
        //     value: "0",
        //     name: "其他用油量",
        //     unit: "升",
        //     numType: 0,
        //     code: "1602",
        //     lastValue: "0",     notInput: true,
        //     loopRatio: "0",
        //     lastYearvalue: "0",
        //     togetherRatio: "0",
        //   },
        // ],
    },
    {
        value: "0",
        name: "费用",
        notInput: true,
        unit: "元",
        numType: 0,
        code: "161",
        fields: "feeDiesel",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "车辆用油量",
        unit: "升",
        numType: 0,
        code: "1601",
        fields: "energyCarDiesel",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 3,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "1611",
        fields: "feeCarDiesel",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    {
        value: "0",
        name: "其他用油量",
        unit: "升",
        numType: 0,
        code: "1602",
        fields: "energyOtherDiesel",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 5,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "1612",
        fields: "feeOtherDiesel",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    // {
    //   value: "0",
    //   name: "费用",
    //   unit: "元",
    //   numType: 0,
    //   code: "161",
    //   lastValue: "0",     notInput: true,
    //   loopRatio: "0",
    //   lastYearvalue: "0",
    //   togetherRatio: "0",
    //   children: [
    //     {
    //       value: "0",
    //       name: "费用",
    //       unit: "元",
    //       numType: 0,
    //       code: "1611",
    //       lastValue: "0",     notInput: true,
    //       loopRatio: "0",
    //       lastYearvalue: "0",
    //       togetherRatio: "0",
    //     },
    //     {
    //       value: "0",
    //       name: "费用",
    //       unit: "元",
    //       numType: 0,
    //       code: "1612",
    //       lastValue: "0",     notInput: true,
    //       loopRatio: "0",
    //       lastYearvalue: "0",
    //       togetherRatio: "0",
    //     },
    //   ],
    // },
    {
        value: "0",
        name: "液化石油气消费量",
        unit: "千克",
        numType: 0,
        code: "104",
        fields: "energyLpg",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        // children: [
        //   {
        //     value: "0",
        //     name: "费用",
        //     unit: "元",
        //     numType: 0,
        //     code: "1041",
        //     lastValue: "0",     notInput: true,
        //     loopRatio: "0",
        //     lastYearvalue: "0",
        //     togetherRatio: "0",
        //   },
        // ],
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "1041",
        fields: "feeLpg",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "热力消费量",
        unit: "吉焦",
        numType: 0,
        code: "170",
        fields: "energyHeat",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "171",
        fields: "feeHeat",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "其他能源消费量",
        unit: "吨标准煤",
        numType: 0,
        code: "180",
        fields: "energyOtherPower",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "181",
        fields: "feeOtherPower",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "充电桩数量",
        unit: "个",
        numType: 1,
        code: "105",
        fields: "chargingPileNum",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "-",
        name: "可再生能源应用",
        unit: "-",
        numType: 0,
        code: "-",
        fields: "kzsnyyy",
        lastValue: "-",
        loopRatio: "-",
        lastYearvalue: "-",
        togetherRatio: "-",
        notInput: true,
    },
    {
        value: "0",
        name: "太阳能集热器面积(已建成)",
        unit: "平方米",
        numType: 0,
        code: "190",
        fields: "solarThermalCollectorArea",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 3,
    },
    {
        value: "0",
        name: "太阳能光伏可安装面积",
        unit: "平方米",
        numType: 0,
        code: "193",
        fields: "solarPanelInstallArea",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 2,
    },
    {
        value: "0",
        name: "太阳能光电系统装机容量(已建成)",
        unit: "千瓦",
        numType: 0,
        code: "191",
        fields: "solarPowerPhotoelectricInstallCapacity",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 2,
    },
    {
        value: "0",
        name: "地热能利用系统装机容量",
        unit: "千瓦",
        numType: 0,
        code: "192",
        fields: "geothermalUtilizationInstallCapacity",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 2,
    },
    {
        value: "0",
        name: "太阳能光电系统发电量",
        unit: "千瓦时",
        numType: 0,
        code: "194",
        fields: "solarPhotovoltaicSystemPowerGeneration",
        lastValue: "0",
        notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 2,
    },
    {
        value: "",
        name: "特殊情况说明",
        extext: "(对于部分变化幅度较大的数据项，可在此项填写相应说明)",
        unit: "",
        numType: 3,
        code: "999",
        fields: "specialSituationDescription",
        lastValue: "0", notInput: true,
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    }
];

export const explain =
    "1.单位负责人指本单位主管节能工作的领导；统计负责人指本单位负责节能工作的处（科、室）领导；填表人指本单位具体负责填写能耗统计报表的人员。";

export default {
    tableData,
    explain,
};
